package com.ruoyi.basics.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

/**
 * 计量点表 basics_point
 * 
 * @author wangbing
 * @date 2018-12-28
 */
public class Point extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 直购电用户ID */
	private Long userId;
	/** 用户户号 */
	private String userNum;
	/** 计量点名称 */
	private String name;
	/** 计量点代码 */
	private String code;
	/** 计量电压等级 */
	private String voltageGrade;
	/** 目录电价明细类别（数据字典） */
	private String priceDetailType;
	/** 基础电价计费方式(数据字典) */
	private String basicsPriceType;
	/** 计量点类型(数据字典) */
	private String pointType;
	/** 产权归属 */
	private String ascription;
	/** 产权分界点 */
	private String ascriptionCutoff;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setUserId(Long userId)
	{
		this.userId = userId;
	}

	public Long getUserId()
	{
		return userId;
	}
	public void setUserNum(String userNum) 
	{
		this.userNum = userNum;
	}

	public String getUserNum() 
	{
		return userNum;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}
	public void setVoltageGrade(String voltageGrade) 
	{
		this.voltageGrade = voltageGrade;
	}

	public String getVoltageGrade() 
	{
		return voltageGrade;
	}
	public void setPriceDetailType(String priceDetailType) 
	{
		this.priceDetailType = priceDetailType;
	}

	public String getPriceDetailType() 
	{
		return priceDetailType;
	}
	public void setBasicsPriceType(String basicsPriceType) 
	{
		this.basicsPriceType = basicsPriceType;
	}

	public String getBasicsPriceType() 
	{
		return basicsPriceType;
	}
	public void setPointType(String pointType) 
	{
		this.pointType = pointType;
	}

	public String getPointType() 
	{
		return pointType;
	}
	public void setAscription(String ascription) 
	{
		this.ascription = ascription;
	}

	public String getAscription() 
	{
		return ascription;
	}
	public void setAscriptionCutoff(String ascriptionCutoff) 
	{
		this.ascriptionCutoff = ascriptionCutoff;
	}

	public String getAscriptionCutoff() 
	{
		return ascriptionCutoff;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userNum", getUserNum())
            .append("name", getName())
            .append("code", getCode())
            .append("voltageGrade", getVoltageGrade())
            .append("priceDetailType", getPriceDetailType())
            .append("basicsPriceType", getBasicsPriceType())
            .append("pointType", getPointType())
            .append("ascription", getAscription())
            .append("ascriptionCutoff", getAscriptionCutoff())
            .toString();
    }
}
